package com.ccrfid.rmc6.repository.business.prison.patrolcheck;

import com.ccrfid.rmc6.entity.business.prison.patrolcheck.PatrolCheckPointPositionEntity;
import org.springframework.data.repository.Repository;

public interface PatrolCheckPointPositionRepository extends Repository<PatrolCheckPointPositionEntity, Long> {

    PatrolCheckPointPositionEntity save(PatrolCheckPointPositionEntity entity);

    Boolean existsByCheckPointId(Long checkPointId);

    void deleteByCheckPointId(Long checkPointId);
}
